<?php

/* Template name: Full width Page */

?>

<?php

	get_header();
	
?>

		<!-- MIDDLE -->
		<section class="middle row">
		
			<!-- CONTENT -->
		   <div class="content span12">
		   
                <!-- PAGE HEADER -->
                <div class="page-header">
					
					<h1 style="float: left; min-width: 50%;">
					
						<b><?php single_post_title(); ?></b>
						
						<small><?php echo get_post_meta( get_the_ID(), 'page_subtitle', true ); ?></small>
						
					</h1>
					
					<?php
					
						if ( ! get_option( 'disable_full_width_page_search' ) )
						{
							?>
								<form style="float: right; margin-bottom: 0px; padding-top: 4px;" method="get" action="<?php echo home_url( '/' ); ?>">
								
									<div class="input-append" style="margin-bottom: 0px;">
									
										<input type="text" id="appendedPrependedInput" name="s" size="16" class="span3" style="padding: 6px !important; margin-bottom: 0px; max-width: 220px;" placeholder="<?php echo __( 'Enter keyword...', 'responsy' ); ?>" value="<?php the_search_query(); ?>">
										
										<input type="submit" id="searchsubmit" class="send" style="display: none;" value="Go">
										
									  </div>
									  
								</form>
							<?php
						}
					
					?>
					
					<div style="clear: both;"></div>
					
				</div>
                <!-- end PAGE HEADER -->
				
			<?php
				
				if ( have_posts() ) :
			
					while ( have_posts() ) : the_post();
					
						the_content();
					
						if ( get_option( 'enable_edit_link' ) )
						{
							edit_post_link( __( 'Edit', 'responsy' ), '<div style="text-align: right;">', '</div>' );
						}
						
						echo '<div class="row"><div class="span8">';
						
						comments_template( '', true );
						
						echo '</div></div>';
				
					endwhile;
			
				endif;
				
			?>
			
			</div>            
			<!-- end CONTENT -->
			
		</section>
		<!-- end MIDDLE -->
		
    </div>
    <!-- end CONTAINER -->
   
<?php

	get_footer();
	
?>